<script>on mouseUpglobal youFinalVictoryglobal oppFinalVictoryglobal endItset the lockScreen to trueput " " into line 1 of field 1put " " into line 2 of field 1put " " into line 3 of field 1put " " into line 4 of field 1put " " into line 5 of field 1put " " into line 6 of field 1put " " into line 7 of field 1put " " into line 8 of field 1put " " into line 9 of field 1put " " into line 10 of field 1If youFinalVictory = 3 or oppFinalVictory = 3 then decisionTimeif youFinalVictory <> 3 and oppFinalVictory <> 3 then go to card 2if endIt = 1 then go homeglobal oppGoneFlagglobal youGoneFlagglobal youGoThudglobal oppGoesThudglobal oppLanceWinglobal youLanceWinglobal horseTieglobal LanceTieglobal checkglobal oppCheckglobal oppBrokeScoreglobal youBrokeScoreput 0 into checkput 0 into oppCheckput 0 into oppGoneFlagput 0 into youGoneFlagput 0 into youGoThudput 0 into oppGoesThudput 0 into oppLanceWinput 0 into youLanceWinput 0 into horseTieput 0 into LanceTieput 0 into youBrokeScoreput 0 into oppBrokeScoreend mouseUpOn decisionTimeset the lockScreen to falseglobal yourFinalVictoryglobal oppFinalVictoryglobal yourThudScoreglobal oppThudScoreglobal yourCrestScoreglobal oppCrestScoreglobal yourLancesglobal oppLances-- THE FINAL VICTORY?If oppFinalVictory > yourFinalVictory thenput " Your Opponent has won" into line 1 of field 1put " the most Jousts" into line 2 of field 1end ifIf yourFinalVictory > oppFinalVictory thenput " You have won" into line 1 of field 1put " the most Jousts" into line 2 of field 1end ifif yourFinalVictory = oppFinalVictory thenput " You have both won" into line 1 of field 1put " equal Jousts" into line 2 of field 1end ifIf yourThudScore > oppThudScore thenput "You have the most unhorsings." into line 3 of field 1put " YOU WIN!!" into line 4 of field 1wait for 4 secondsgo nextend ifif oppThudScore > yourThudscore thenput " Your Opponent has the" into line 3 of field 1put " most unhorsings. " into line 4 of field 1put " You lose the Tournament." into line 5 of field 1show button 3show button 1show button 2end ifIf oppThudScore = yourThudScore and ¬yourCrestScore > oppCrestScore thenput " You Win On Crests!" into line 4 of field 1wait for 4 secondsgo nextend ifif oppThudScore = yourThudScore and¬oppCrestScore > yourCrestScore thenput " Your Rival Wins on Crests!" into line 4 of field 1show button 3show button 1show button 2end ifif oppThudScore = yourThudScore and oppCrestScore = yourCrestScore¬and yourLances > oppLances thenput " You win on lances broken!" into line 4 of field 1wait for 4 secondsgo nextend ifif oppThudScore = yourThudScore and oppCrestScore = yourCrestScore¬and yourLances < oppLances thenput " Your rival wins on lances!" into line 4 of field 1show button 3show button 1show button 2end ifIf oppThudScore = yourThudScore and oppCrestScore = yourCrestScore¬and yourLances = oppLances thenput " It is a perfect tie." into line 4 of field 1put " Judges won't tamper" into line 5 of field 1put " with Divine Will." into line 6 of field 1put " You both lose!" into line 7 of field 1show button 3show button 1show button 2end ifend decisionTime</script>